package com.devp.common;

import org.hibernate.validator.constraints.NotBlank;

import java.util.List;

/**
 * 提交流程请求参数
 *
 * @program: sany-heavy-energy
 * @description: 提交流程Vo
 * @author: yong.liu
 * @create: 2020-04-10
 **/
public class SubmitProcessRequest {

    /**
     * 流程发起人，三一内部域账号，如：chenm24
     */
    @NotBlank(message = "流程发起人不能为空")
    protected String docCreator;

    /**
     * 状态：初始为20：待审核
     * 10：草稿
     * 20：待审
     * 11：驳回
     * 00：废弃
     * 30：发布（流程正常结束）
     * 40：过期
     */
    protected String docStatus;
    /**
     * 流程标题，如：维修换件单 5300869623
     */
    @NotBlank(message = "流程标题不能为空")
    protected String docSubject;
    /**
     * 关键字，如：["合同", "采购"]
     */
    protected String fdKeyword;
    /**
     * 提交人意见
     */
    protected String flowParam;
    /**
     * 流程表单数据，json串
     */
    @NotBlank(message = "流程表单数据不能为空")
    protected String formValues;
    /**
     * 附件列表
     */
    protected List<String> attachmentInfo;


    /**
     * 文档模板ID，参数配置界面配置
     */
    protected String fdTemplateId;
    /**
     * 不用赋值
     */
    protected String docUrl;
    protected String docContent;
    protected String docProperty;


    public String getDocCreator() {
        return docCreator;
    }

    public void setDocCreator(String docCreator) {
        this.docCreator = docCreator;
    }

    public String getDocStatus() {
        return docStatus;
    }

    public void setDocStatus(String docStatus) {
        this.docStatus = docStatus;
    }

    public String getDocSubject() {
        return docSubject;
    }

    public void setDocSubject(String docSubject) {
        this.docSubject = docSubject;
    }

    public String getFdKeyword() {
        return fdKeyword;
    }

    public void setFdKeyword(String fdKeyword) {
        this.fdKeyword = fdKeyword;
    }

    public String getFdTemplateId() {
        return fdTemplateId;
    }

    public void setFdTemplateId(String fdTemplateId) {
        this.fdTemplateId = fdTemplateId;
    }

    public String getFlowParam() {
        return flowParam;
    }

    public void setFlowParam(String flowParam) {
        this.flowParam = flowParam;
    }

    public String getFormValues() {
        return formValues;
    }

    public void setFormValues(String formValues) {
        this.formValues = formValues;
    }

    public List<String> getAttachmentInfo() {
        return attachmentInfo;
    }

    public void setAttachmentInfo(List<String> attachmentInfo) {
        this.attachmentInfo = attachmentInfo;
    }

    public String getDocUrl() {
        return docUrl;
    }

    public void setDocUrl(String docUrl) {
        this.docUrl = docUrl;
    }

    public String getDocContent() {
        return docContent;
    }

    public void setDocContent(String docContent) {
        this.docContent = docContent;
    }

    public String getDocProperty() {
        return docProperty;
    }

    public void setDocProperty(String docProperty) {
        this.docProperty = docProperty;
    }
}
